package exercise_1;

import java.util.Scanner;

public class jiandati {

	public static void main(String[] args) {
		int sum=0;
		Scanner in = new Scanner(System.in);
		for(int i=1;i<=5;i++) {
			System.out.printf("请输入周%d的学习时间:",i);
			int h = in.nextInt();
			sum +=h;
		}
		System.out.println("周一至周五平均学习时间："+sum/5+"小时");

	}

}
